﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVCFoto.Model;

namespace MVCFoto.IDAL
{
    public interface IUser
    {
        UserInfo GetUser(int id);
        UserInfo GetUser(string username);
        UserInfo GetUser(string username, string password);
        UserInfo GetUserByEmail(string email);
        int AddUser(UserInfo ui);
        bool UpdateUser(UserInfo ui);
        bool ChangePassword(int userId, string password);
        IList<UserInfo> GetUserFriends(int userId);
    }
}
